#include "directory.h"
#include "ui_directory.h"
#include"inCal.h"
#include"inimag.h"
#include"innote.h"
#include"Widget.h"

Directory::Directory(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Directory)
{
    ui->setupUi(this);
}

Directory::~Directory()
{
    delete ui;
}

void Directory::on_inCalButton_clicked()
{

        this->hide();
        InCal *ic=new InCal;
        ic->show();
}


void Directory::on_inImagButton_clicked()
{
    this->hide();
    InImag *im=new InImag;
    im->show();
}


void Directory::on_inNoteButton_clicked()
{
    this->hide();
    InNote *in=new InNote;
    in->show();
}




void Directory::on_back2wButton_4_clicked()
{
    this->hide();
    Widget *w=new Widget;
    w->show();
}

